from django import forms
from .models import WriteNews

class WriteNews_Form(forms.ModelForm):
	category = forms.IntegerField()
	class Meta:
		model = WriteNews
		exclude = ['category','pub_time','author','thumbnail']